import time

i = 0
while True:
    i = i + 1
    print("Hello")
    if i > 3:
        print("End of loop")
        break
    time.sleep(i)
